package com.aaa.ni;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * fileName:NewsAndInfoMarketApp
 * description:
 *
 * @author:wzl createTime:2020/9/3 14:47
 */
@SpringBootApplication
@MapperScan("com.aaa.ni.dao")
@EnableDiscoveryClient
@EnableSwagger2 //开启swagger功能
@EnableTransactionManagement
@EnableFeignClients  //开启feign功能
public class NewsAndInfoMarketApp {
    public static void main(String[] args) {
        SpringApplication.run(NewsAndInfoMarketApp.class,args);
    }

}
